package day09API.stringBuilder;

import java.util.Scanner;

public class Test01 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.nextLine();
        if (s.matches("\\w{3,15}")){
            String age = sc.nextLine();
            if (age.matches("\\d+")){
                if (Integer.valueOf(age)>100) {
                    System.out.println("不能大于100岁");
                }else {
                    System.out.println("您叫"+s+"您有" + age + "岁了");
                }
            }
        }else {
            System.out.println("您的名字有误");
        }
    }
}
